//
//  CustomView.m
//  13-HomeWork
//
//  Created by 李昊林 on 16/8/2.
//  Copyright © 2016年 李昊林. All rights reserved.
//

#import "CustomView.h"

@implementation CustomView
- (CGSize)intrinsicContentSize {
    CGSize size = [super intrinsicContentSize];
    NSLog(@"%@",NSStringFromCGSize(size));
    //return size;
    return CGSizeMake(100, 100);
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
